package api

type GenericChangDuError struct {
	body  []byte
	error string
	msg   string
	model interface{}
}

func (e GenericChangDuError) Error() string {
	return e.error
}

func (e GenericChangDuError) Msg() string {
	return e.msg
}

func (e GenericChangDuError) Body() []byte {
	return e.body
}

func (e GenericChangDuError) Model() interface{} {
	return e.model
}
